package com.harmontronics.hanma.paas.paas.service;

import com.harmontronics.hanma.paas.paas.common.PageBase;
import com.harmontronics.hanma.paas.paas.domain.iam.entity.GroupManage;
import com.harmontronics.hanma.paas.paas.domain.iam.entity.GroupManageUser;
import com.harmontronics.hanma.paas.paas.domain.iam.entity.HmUserGroupManage;
import com.harmontronics.hanma.paas.paas.domain.iam.repository.po.HmUserGroupManagePO;
import java.util.List;

public interface IHmUserGroupManageService {

    List<HmUserGroupManage> getList();

    List<GroupManageUser> selectGroupManageUserWithId(Long groupId);

    PageBase<HmUserGroupManage> getList(int pageNo,int pageSize);

    List<Long> selectGroupIdsWithOrgIdAndUserId(List<Long> orgIds, Long userId);

    List<HmUserGroupManagePO> selectGroupManageWithUserId(Long userId);

    void create(List<GroupManage> groupManageCreateList);

    void checkUser( Long userId, Long groupId);

    List<HmUserGroupManagePO> selectGroupManageUserWithUserIdAndGroupId(
            Long userId, Long userGroupId);

    void removeManagerById(Long id);
}
